﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Whoever.Website.Site
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public System.Web.UI.WebControls.Button GetControl(String control)
        {
            var emptyButton = new Button();
            switch (control)
            {
                case "Contact":
                    return this.ButtonContact;
                case "Home":
                    return this.ButtonHome;
                case "Services":
                    return this.ButtonServices;
                case "AboutUs":
                    return this.ButtonAboutUs;
                default:
                    return emptyButton;
            }
        }
    }
}